package com.second.oa.domain;
// default package

import java.util.HashSet;
import java.util.Set;



public class Role  implements java.io.Serializable {


    // Fields    

     private String id;
     private String name;
     private String description;
     private Set employees = new HashSet(0);
     private Set powers = new HashSet(0);


    // Constructors

    /** default constructor */
    public Role() {
    }

	/** minimal constructor */
    public Role(String id) {
        this.id = id;
    }
    
    /** full constructor */
    public Role(String id, String name, String description, Set employees, Set powers) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.employees = employees;
        this.powers = powers;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public Set getEmployees() {
        return this.employees;
    }
    
    public void setEmployees(Set employees) {
        this.employees = employees;
    }

    public Set getPowers() {
        return this.powers;
    }
    
    public void setPowers(Set powers) {
        this.powers = powers;
    }
   








}